package com.itHsuSE.demo1;

public class ArithmeticOperator {
    public static void main(String[] args) {
        System.out.println(10/4);//数学上是2.5，在Java中是2
        System.out.println(10.0/4);//Java中是2.5
        double d=10/4;//在Java中是10/4=2,然后2->2.0
        System.out.println(d);//2.0

    }
}
